const shareService = [
  {
    path: '/shared-serv', name: 'sharedServ', component: () => import(/* webpackChunkName: "sharedServ" */ "@/views/map-service/index.vue"),
    meta: {
      title: '共享服务',
    },
    children: [
      {
        path: '/share-overview', name: 'shareOverview', component: () => import(/* webpackChunkName: "shareOverview" */ "@/views/map-service/overview/index.vue"),
        meta: {
          title: '总览',
        }
      },
      // 作为父级的路由需要再包裹一层<router-view />
      {
        path: '/map-serv', name: 'mapServ', component: () => import(/* webpackChunkName: "mapServ" */ "@/views/map-service/map-serv/index.vue"),
        meta: {
          title: '地图服务',
        },
        children: [
          {
            path: '/map-share', name: 'mapShare', component: () => import(/* webpackChunkName: "mapShare" */ "@/views/map-service/map-serv/mapShare.vue"),
            meta: {
              title: '服务共享',
            }
          },
          {
            path: '/map-share/detail', name: 'mapShareDetail', component: () => import(/* webpackChunkName: "mapShareDetail" */ "@/views/map-service/map-serv/mapShareDetail.vue"),
            meta: {
              title: '服务详情',
            }
          },
          {
            path: '/serve-config', name: 'serveConfig', component: () => import(/* webpackChunkName: "serveConfig" */ "@/views/map-service/map-serv/serveConfig.vue"),
            meta: {
              title: '服务配置'
            }
          },
        ]
      },
      {
        path: '/data-dispatch', name: 'dataDispatch', component: () => import(/* webpackChunkName: "dataDispatch" */ "@/views/data-dispatch/index.vue"),
        meta: {
          title: '数据在线分发'
        }
      },
      // 不在菜单里的路由，可以跟父平级，也可以放到父下，要保证path里包含父级。
      {
        path: "/data-dispatch/detail",
        name: "dataDispatchDetail",
        component: () => import(/* webpackChunkName: "dataDispatchDetail" */ "@/views/data-dispatch/detail.vue"),
        meta: {
          title: "数据详情",
          breadcrumb: [
            {
              name: null,
              label: "共享服务",
            },
            {
              name: "dataDispatch",
              label: "数据在线分发",
            },
            {
              name: "dataDispatchDetail",
              label: "数据详情",
            },
          ],
        },
      }
    ]
  },

]
export default shareService;